/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved.
 * Author: Huawei OS Kernel Lab
 * Create: Thu Aug 15 16:14:23 2023
 */

#ifndef __LIBLINUX_ASM_SMP_H
#define __LIBLINUX_ASM_SMP_H

#include_next <asm/smp.h>

extern unsigned int liblinux_get_processor_id(void);

#undef  raw_smp_processor_id
#define raw_smp_processor_id() (liblinux_get_processor_id())

#endif /* __LIBLINUX_ASM_SMP_H */
